//
//  CustomAnnotationView.h
//  CustomAnnotationDemo
//
//  Created by songjian on 13-3-11.
//  Copyright (c) 2013年 songjian. All rights reserved.
//

#import <MAMapKit/MAMapKit.h>

@protocol CustomAnnotationViewDelegate <NSObject>
@optional
//附近医院直接进入详情
- (void) clickDetail:(NSInteger)tag;
//导航过去
- (void) clickGPSWithLat:(NSString *)lat WithLong:(NSString *)lng WithTag:(NSInteger)tag;
//电话过去
- (void) clickTelWithTag:(NSInteger)tag;
@end

@interface CustomAnnotationView : MAAnnotationView
@property (nonatomic, strong) UIImage *portrait;
@property (nonatomic, strong) UIImageView *portraitImageView;

@property (nonatomic, strong) UIView *calloutView;
@property (nonatomic, strong) UIButton *gpsGo;
@property (nonatomic, strong) UIButton *telGo;
@property (nonatomic, strong) UILabel  *itemName;
@property (nonatomic, strong) UILabel  *tel;
@property (nonatomic, strong) id<CustomAnnotationViewDelegate>cusdelegate;
@end
